
Replication files for the paper "Exit polls and voter turnout in the 2017 French elections"

by 
Alberto Grillo Universite Paris-Pantheon-Assas, LEMMA, 4 rue Blaise Desgoe 75006 Paris, France.
Contact: alberto.grillo@u-paris2.fr
Eva Raiber Aix-Marseille Universite, CNRS, AMSE, 5-9 Bd Maurice Bourdet, 13001 Marseille, France.
Contact: eva.raiber@univ-amu.fr


For questions about the replication code, please contact Eva Raiber.


1) Raw data folder: Contains the raw data in csv or excel format

Raw data files and sources:

Pres 2017 participation.xlsx: Turnout data (department level) at the first and second round of the French Presidential Elections in 2017, 
obtained from the French Interior Ministry 

Pres 2022 participation.xlsx: Turnout data (department level) at the first and second round of the French Presidential Elections in 2022, 
obtained from the French Interior Ministry website

Pres 2002 2007 2012 participation.xlsx: Turnout data (department level) at the first and second round of the French Presidential Elections in 2002, 2012 and 2017, 
obtained from the French Interior Ministry 

temperatures.xlsx: Rainfall amount, minimum and maximum tempertaure in the department's capital at the days of the 1st and 2nd round of the French Presidential Election in 2017,
obtained manually from a weather website

votes by department.xlsx: Election results (department level) for the 2017 French presidential elections 1st and 2nd round

2) Do files:

Contains Stata (version 15) do files. Please run in the following order:

1) Clean and merge.do
2) tables and figure.do

Before running the do file, change the working directory in line 7 of each do file

3) Cleaned data:

Contains the cleaned data "turnout.dta". This is the output of running do file 1. 

4) Output:

Empty and needs to be created, will contain tex files for table1, 2, 3, and 4 and figures "election2012.png", "election2017.png" and "election2022.png" after running do file 2
Tables have to be adapted manually, such as changing the headings.

